package org.aristotle.demo.model.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@ApiModel("管理员")
public class AdminVO {

    @ApiModelProperty("管理员id")
    @JSONField(name = "id", serializeUsing= ToStringSerializer.class)
    private Long id;

    @ApiModelProperty("管理员名称")
    @JSONField(name = "adminName")
    private java.lang.String adminName;

    @ApiModelProperty("密码")
    @JSONField(name = "password")
    private java.lang.String password;

    @ApiModelProperty("创建时间")
    @JSONField(name = "createTime",format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;

    @ApiModelProperty("修改时间")
    @JSONField(name = "updateTime",format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;

    @ApiModelProperty("管理员信息")
    @JSONField(name = "info")
    private java.lang.String info;


}
